<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2019/6/6
 * Time: 10:07
 */

namespace app\mobile\controller;


use app\admin\model\CategoryList;
use app\admin\model\CommonInfo;
use think\Controller;

class Base extends Controller
{


    public function initialize()
    {
        $cate = CategoryList::order('sort desc')->select()->toArray();
        $foot = CommonInfo::where('id',1)->find();
        $this->assign('cate',$cate);
        $this->assign('common',$foot);
    }
}